package router

import (
	"api/internal/hander/doctor"
	"github.com/gin-gonic/gin"
)

func DoctorRouter(router *gin.RouterGroup) {
	doctorModel := router.Group("doctor")
	{
		doctorModel.POST("add", doctor.AddDoctor)
		doctorModel.POST("hao", doctor.UserHao)
		doctorModel.POST("find", doctor.FindHao)
		doctorModel.POST("update", doctor.UpdateHao)
	}
}
